package com.qiao.glod.application;

import android.content.res.Resources;
import android.os.Handler;
import android.os.Looper;

/**
 * Created by Administrator on 2016/4/6.
 */
public class AppContext  {

    protected static  AppContext appContext;
    protected static QApplication mInstance;
    protected static Resources mResource;
    protected static Handler mHandler ;

    protected static void init(QApplication application){
        mInstance = application;
        mResource = application.getResources();
        appContext = new AppContext();
        mHandler = new Handler(Looper.getMainLooper());
    }
}
